package cn.ht.jywrwater.module.ht.controller.admin.waterqualityalertcount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.ht.jywrwater.framework.excel.core.annotations.DictFormat;
import cn.ht.jywrwater.framework.excel.core.convert.DictConvert;


/**
 * 水质统计 Excel VO
 *
 * @author hzx
 */
@Data
public class WaterQualityAlertCountExcelVO {

    @ExcelProperty("ID")
    private Long id;

    @ExcelProperty(value = "类型（出厂、末梢）", converter = DictConvert.class)
    @DictFormat("water_quality_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer waterType;

    @ExcelProperty(value = "水质指标类型", converter = DictConvert.class)
    @DictFormat("water_quality_alert_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer alertType;

    @ExcelProperty("年份")
    private String yearValue;

    @ExcelProperty("月份")
    private String monthValue;

    @ExcelProperty("日期")
    private LocalDate dataDate;

    @ExcelProperty("数量")
    private Integer alertCount;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
